<!DOCTYPE html>
<html>
<meta charset="utf-8">
<head th:include="include :: header"></head>
<body class="gray-bg">
	<div class="wrapper wrapper-content animated fadeInRight">
		<div class="row">
			<div class="col-sm-12">
				<div class="ibox float-e-margins">
					<div class="ibox-content">
						<form class="form-horizontal m-t" id="editForm">
							<input id="id" name="id" th:value="${phoneDev.id}"
								class="hidden">
							<div class="form-group">
								<label class="col-sm-3 control-label ">手机类型：</label>
								<div class="col-sm-8">
									<input id="type" name="type" th:value="${phoneDev.type}"
									class="form-control" type="text">
								</div>
							</div>
							 
							<div class="form-group">
								<label class="col-sm-3 control-label ">设备名称：</label>
								<div class="col-sm-8">
									<input id="name" name="name" th:value="${phoneDev.name}"
									class="form-control" type="text">
								</div>
							</div>
							
							<div class="form-group">
								<label class="col-sm-3 control-label ">是否智能机：</label>
								<div class="col-sm-8">
								<input id="isSmart" id="isSmart"  name="isSmart" class="hidden">
								是-<input name="isSmartRadio" th:checked="${phoneDev.isSmart == 1}" value="1" type="radio">
								否-<input name="isSmartRadio" th:checked="${phoneDev.isSmart == 0}" value="0" type="radio">
								</div>
							</div>
							
							<div class="form-group">
								<label class="col-sm-3 control-label ">生产地址：</label>
								<div class="col-sm-8">
									<input id="factory" name="factory" th:value="${phoneDev.factory}"
									class="form-control" type="text">
								</div>
							</div>
							
							<div class="form-group">
								<label class="col-sm-3 control-label ">版本号：</label>
								<div class="col-sm-8">
									<input id="version" name="version" th:value="${phoneDev.version}"
									class="form-control" type="text">
								</div>
							</div>
							 
							 
							<div class="form-group">
								<div class="col-sm-8 col-sm-offset-3">
									<button type="submit" class="btn btn-primary">提交</button>
								</div>
							</div>
						</form>
					</div>
				</div>
			</div>
		</div>
	</div>
	<div th:include="include::footer"></div>
	<script type="text/javascript" src="/js/appjs/dev/phone/edit.js">
	</script>
</body>
</html>
